<%@page import="java.util.*"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN">
<head>
<title>Insert title here</title>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
<title>Bootstrap 101 Template</title>

<!-- Bootstrap -->
<link href="./bootstrap/css/bootstrap.min.css" rel="stylesheet">
<script src="./bootstrap/js/jquery-3.2.1.min.js"></script>

	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	<script src="./bootstrap/js/jquery.min.js"></script>
	<!-- Include all compiled plugins (below), or include individual files as needed -->
	<script src="./bootstrap/js/bootstrap.min.js"></script>
	<script src="./public/js/admin.js"></script>
</head>
<body>
	<div class="row">
		<div class="col-xs-12">

			<nav class="navbar navbar-default">
			<div class="container-fluid">
				<!-- Brand and toggle get grouped for better mobile display -->
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed"
						data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
						aria-expanded="false">
						<span class="sr-only">Toggle navigation</span> <span
							class="icon-bar"></span> <span class="icon-bar"></span> <span
							class="icon-bar"></span>
					</button>
					<a class="navbar-brand" href="#">AMC</a>
				</div>

				<!-- Collect the nav links, forms, and other content for toggling -->
				<div class="collapse navbar-collapse"
					id="bs-example-navbar-collapse-1">
					<ul class="nav navbar-nav">
						<a class="navbar-brand" href="#"> <img alt="AMC"
							src="./images/5.png">
						</a>
					</ul>


				</div>
				<!-- /.navbar-collapse -->
			</div>
			<!-- /.container-fluid --> </nav>

		</div>
		<div class="col-xs-2">
			<div class="panel panel-default table-responsive">
				<!-- Default panel contents -->
				<div class="panel-heading">个人信息</div>
				<div class="panel-body">
					<img src="./images/1.png" alt="..." class="img-rounded img-responsive">
				</div>

				<!-- List group -->
				<ul class="list-group">
					<li class="list-group-item">Admin</li>
					<li class="list-group-item">角色：管理员</li>
					<li class="list-group-item">性别：女</li> 
				</ul>
			</div>


		</div>
		<div class="col-xs-10 "  >
			<div class="panel panel-info table-responsive" style="min-height: 800px">
				<!-- Default panel contents -->
				<div class="panel-heading">商家列表</div>
				<div class="panel-body">
					<div class="dropdown">
						<button class="btn btn-default dropdown-toggle " type="button"
							id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true"
							aria-expanded="true">
							All <span class="caret"></span>
						</button>
						<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
							<li><a href="#" value="">All</a></li>
							<li role="separator" class="divider"></li>
							<li><a href="#" value="0">Normal List</a></li>
							<li><a href="#" value="1">Black List</a></li>
						</ul>
                        <form class="navbar-form navbar-right">
						<div class="form-group">
							<input type="text" class="form-control" name="merchantName" id="seachNameInput" placeholder="Search">
						</div>
						<button type="button" class="btn btn-default" id="seachByNameBtn" >Search</button>
					</form>
					
					</div>
					
				</div>
				<div class="alert alert-success   fade  in" style="display: none" id="alertDiv">
					<button type="button" class="close" data-dismiss="alert" aria-label="Close">
					  <span aria-hidden="true" > &times;</span>
					</button>
				</div>
				<div class="alert alert-danger   fade  in" style="display: none" id="failAlertDiv">
					<button type="button" class="close" data-dismiss="alert" aria-label="Close">
					  <span aria-hidden="true" > &times;</span>
					</button>
				</div>
				<!-- Table -->
				<table class="table table-bordered table-hover  " style="border: 1px solid darkgray">
					<tbody >
						<tr class="active">
							<th>Name</th>
							<th>Address</th>
							<th>Pic</th>
							<th>Id-Card</th>
							<th>Audit-Status</th>
							<th>Remarks</th>
							<th>Operation</th>
						</tr>
						
					</tbody>
				</table>
			</div>
		</div>
	</div>

<!-- rejectModal -->    
<div class="modal fade" id="rejectModal" tabindex="-1" role="dialog" aria-labelledby="rejectModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="rejectModalLabel">驳回申请</h4>
      </div>
      <div class="modal-body">
      <form id="editStatusForm">
          <input type="text" hidden="true" id="merchantId" name="merchantId" />
            <input type="text" hidden="true" id="requestUrl" />
          <input type="text" hidden="true" id="lastApplyTime" />
          </form>
        <textarea name="remarks" id="remarks" class="form-control" rows="3"></textarea>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        <button type="button" class="btn btn-primary" id="rejectModalSubmit" >确认</button>
      </div>
    </div>
  </div>
</div>

<!-- myModal -->    
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">提示</h4>
      </div>
      <div class="modal-body" id="modal-msg">
        <form id="editStatusForm">
          <input type="text" hidden="true" id="merchantId" name="merchantId" />
          <input type="text"  hidden="true" id="type" name="type" />
           <input type="text"  hidden="true" id="isBlack" name="isBlack"/>
            <input type="text" hidden="true" id="requestUrl" />
              <input type="text" hidden="true" id="lastApplyTime" />
            <p></p>
          </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal" id="myModalCancel">取消</button>
        <button type="button" class="btn btn-primary" id="myModalSubmit" >确认</button>
      </div>
    </div>
  </div>
</div>
</body>
</html>